package com.sample.tdf.dto;

import cn.com.taiji.common.dto.BaseTreeDTO;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class OrgEmpsDTO extends BaseTreeDTO {
    private String id;
    private String parentId;
    private String orgName;
    private List<EmployeeDTO> empList;

    public OrgEmpsDTO(String id, String parentId, String orgName) {
        this.parentId = parentId;
        this.id = id;
        this.orgName = orgName;
    }
}
